package com.oracle.malldemo.view;

import com.oracle.malldemo.domain.Address;
import com.oracle.malldemo.domain.Items;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cart implements Serializable,Cloneable {
    private Integer uid; //用户编号
    private Address address; //收货地址
    private List<Items> goodsList; //购买的商品的集合
    private Double totalPrice; //总金额
}


